<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
	<title>微信用户管理</title>
	<meta name="decorator" content="default" />
	<script type="text/javascript">
        function page(n, s) {
            $("#pageNo").val(n);
            $("#pageSize").val(s);
            $("#searchForm").submit();
            return false;
        }
	</script>
</head>
<body>
<ul class="nav nav-tabs">
	<li class="active"><a href="${ctx}/business/wechatuser/">微信用户列表</a></li>
	<shiro:hasPermission name="business:wechatuser:edit">
		<li><a href="${ctx}/business/wechatuser/form?sort=10">微信用户添加</a></li>
	</shiro:hasPermission>
</ul>
<form:form id="searchForm" modelAttribute="weChatUser"
		   action="${ctx}/business/wechatuser/" method="post" class="breadcrumb form-search">
	<input id="pageNo" name="pageNo" type="hidden" value="${page.pageNo}" />
	<input id="pageSize" name="pageSize" type="hidden"
		   value="${page.pageSize}" />
	<label>名称  ：</label>
<<<<<<< HEAD
	<form:input path="name" htmlEscape="false" maxlength="50" class="input-medium" />
	&nbsp;<input id="btnSubmit" class="btn btn-primary" type="submit" value="查询" />
=======
	<form:input path="name" htmlEscape="false" maxlength="50"
				class="input-medium" />
	&nbsp;<input id="btnSubmit" class="btn btn-primary" type="submit"
	value="查询" />
>>>>>>> 53602faf99fe7b0861de16a243f74518370545f5
</form:form>
<tags:message content="${message}" />
<table id="contentTable" class="table table-striped table-bordered table-condensed">
	<thead>
	<tr>
			<th></th>
			<th>创建人</th>
			<th>创建日期</th>
<<<<<<< HEAD
			<th>删除标志</th>
=======
			<th>删除标志 0：正常；1：删除；2：审核</th>
>>>>>>> 53602faf99fe7b0861de16a243f74518370545f5
			<th>备注</th>
			<th>修改人</th>
			<th>更新日期</th>
			<th></th>
			<th></th>
			<th></th>
			<th></th>
			<th></th>
			<th></th>
			<th></th>
			<th></th>
			<th>微信openid</th>
			<th></th>
			<th></th>
			<th></th>
			<th></th>
			<th></th>
			<th></th>
<<<<<<< HEAD
			<th>用户类型</th>
=======
			<th>用户类型 0:未分类 1:家长 2:销售 3:教师</th>
>>>>>>> 53602faf99fe7b0861de16a243f74518370545f5
			<th></th>
		<shiro:hasPermission name="business:wechatuser:edit">
			<th>操作</th>
		</shiro:hasPermission>
	</tr>
	</thead>
	<tbody>
	<c:forEach items="${page.list}" var="wechatuser">
		<tr>
				<td>${wechatuser.id}</td>
				<td>${wechatuser.createBy}</td>
<<<<<<< HEAD
				<td>${wechatuser.createDate}</td>
				<td>${wechatuser.delFlag}</td>
				<td>${wechatuser.remarks}</td>
				<td>${wechatuser.updateBy}</td>
				<td>${wechatuser.updateDate}</td>
				<td>${wechatuser.addDate}</td>
=======
				<td>
					<fmt:formatDate value="${wechatuser.createDate }" pattern="yyyy-MM-dd"/>
				</td>
				<td>${wechatuser.delFlag}</td>
				<td>${wechatuser.remarks}</td>
				<td>${wechatuser.updateBy}</td>
				<td>
					<fmt:formatDate value="${wechatuser.updateDate }" pattern="yyyy-MM-dd"/>
				</td>
				<td>
					<fmt:formatDate value="${wechatuser.addDate }" pattern="yyyy-MM-dd"/>
				</td>
>>>>>>> 53602faf99fe7b0861de16a243f74518370545f5
				<td>${wechatuser.city}</td>
				<td>${wechatuser.country}</td>
				<td>${wechatuser.groupId}</td>
				<td>${wechatuser.headImgUrl}</td>
				<td>${wechatuser.language}</td>
				<td>${wechatuser.name}</td>
				<td>${wechatuser.nickName}</td>
				<td>${wechatuser.openId}</td>
				<td>${wechatuser.province}</td>
				<td>${wechatuser.remark}</td>
				<td>${wechatuser.sex}</td>
				<td>${wechatuser.subscribe}</td>
<<<<<<< HEAD
				<td>${wechatuser.subscribeTime}</td>
=======
				<td>
					<fmt:formatDate value="${wechatuser.subscribeTime }" pattern="yyyy-MM-dd"/>
				</td>
>>>>>>> 53602faf99fe7b0861de16a243f74518370545f5
				<td>${wechatuser.tagidList}</td>
				<td>${wechatuser.type}</td>
				<td>${wechatuser.unionId}</td>
			<shiro:hasPermission name="business:wechatuser:edit">
				<td><a href="${ctx}/business/wechatuser/form?id=${wechatuser.id}">修改</a>
					<a href="${ctx}/business/wechatuser/delete?id=${wechatuser.id}"
					   onclick="return confirmx('确认要删除该字典吗？', this.href)">删除</a>
					<a href="${ctx}/business/wechatuser/form">新增</a>
				</td>
			</shiro:hasPermission>
		</tr>
	</c:forEach>
	</tbody>
</table>
<div class="pagination">${page}</div>
</body>
</html>